package com.cn.lp.jpa.cq.domain;

import com.cn.lp.jpa.cq.expression.CQFrom;

/**
 * 条件语句
 *
 * @author wqr
 * Created by on 2019/8/7
 */
public final class CQ {

    /**
     * 构造语句
     *
     * @param clazz   实体对象
     * @param <TFrom>
     * @return
     */
    public static <TFrom> CQFrom<TFrom> from(Class<TFrom> clazz) {
        return new CQBuildImpl<>(clazz);
    }

}
